<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2021/11/17
  Time: 20:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%
        Cookie[] cookies = request.getCookies();
        String name = "";
        for (Cookie cookie1 :cookies) {
            if(cookie1.getName().equals("logined")){
                name = cookie1.getValue();
                break;
            }
        }
        out.write(name+" 欢迎回来~");
    %>
    <br>
    <a href="login.jsp">退出登录</a>
</body>
</html>
